﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using NUnit.Framework.SyntaxHelpers;
using SevenDigital.FooBar.Core.Repositories;
using SevenDigital.FooBar.Core.RepositoryImpl;

namespace SevenDigital.FooBar.Tests
{
    [TestFixture]
    public class CountryFixture2: FixtureBase
    {
        [Test]
        public void Foo()
        {
            ICountryRepository repository = new CountryRepository();
            repository.Session = Session;

            var obj = repository.FindAll();
            Assert.That(obj, Is.Not.Empty);
            Console.WriteLine("Count of Countries: {0}", obj.Count);
        }
    }
}
